package qt.domain;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by charmyyy on 2017/10/24.
 */
public class Czglgx {
    private String stcd;
    private String pstcd;
    private String rela;
    private String formula;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date frdt;

    private String nt;

    public Czglgx(String stcd, String pstcd, String rela, String formula, Date frdt, String nt) {
        this.stcd = stcd;
        this.pstcd = pstcd;
        this.rela = rela;
        this.formula = formula;
        this.frdt = frdt;
        this.nt = nt;
    }

    public Czglgx() {
    }

    public String getStcd() {
        return stcd;
    }

    public void setStcd(String stcd) {
        this.stcd = stcd;
    }

    public String getPstcd() {
        return pstcd;
    }

    public void setPstcd(String pstcd) {
        this.pstcd = pstcd;
    }

    public String getRela() {
        return rela;
    }

    public void setRela(String rela) {
        this.rela = rela;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public String getNt() {
        return nt;
    }

    public void setNt(String nt) {
        this.nt = nt;
    }

    public Date getFrdt() {
        return frdt;
    }

    public void setFrdt(Date frdt) {
        this.frdt = frdt;
    }

    @Override
    public String toString() {
        return "Czglgx{" +
                "stcd='" + stcd + '\'' +
                ", pstcd='" + pstcd + '\'' +
                ", rela='" + rela + '\'' +
                ", formula='" + formula + '\'' +
                ", frdt=" + frdt +
                ", nt='" + nt + '\'' +
                '}';
    }
}
